<template>
  <div class>
    <van-tabbar active-color="#07c160" inactive-color="#000" route>
      <van-tabbar-item icon="wap-home-o" :to="{ path: '/home' }"
        >首页</van-tabbar-item
      >
      <van-tabbar-item icon="contact" :to="{ path: '/member' }"
        >会员</van-tabbar-item
      >
      <van-tabbar-item
        icon="shopping-cart-o"
        :info="this.$store.getters.total"
        :to="{ path: '/shopcar' }"
        >购物车</van-tabbar-item
      >
      <van-tabbar-item icon="search" :to="{ path: '/search' }"
        >搜索</van-tabbar-item
      >
    </van-tabbar>
  </div>
</template>

<script>
export default {
  name: '',
  data() {
    return {}
  },
  components: {},
  created() {},
  mounted() {},
  methods: {}
}
</script>
<style lang="less" scoped></style>
